package com.ssy.lingxi.system.service;

import com.ssy.lingxi.common.response.PageData;
import com.ssy.lingxi.common.response.PageModel;
import com.ssy.lingxi.common.response.Wrapper;
import com.ssy.lingxi.system.dto.request.MemberEquitiesUpdateRequest;
import com.ssy.lingxi.system.dto.response.MemberEquitiesResponse;
import com.ssy.lingxi.system.entity.MemberEquities;

import java.util.List;

/**
* 会员权益业务管理层
* @author wrc
* @date 2020/5/13
*/
public interface MemberEquitiesService {

   /**
   * 查询会员权益列表
   * @author wrc
   * @date 2020/5/13
   */
   Wrapper<PageData<MemberEquitiesResponse>> memberEquitiesList(PageModel request);

   /**
   * 停用或者启动会员权益
   * @author wrc
   * @date 2020/5/13
   */
   Wrapper memberEquitiesUpdate(MemberEquitiesUpdateRequest request);


   /**
   * 查询所有会员权益
   * @author wrc
   * @date 2020/6/5
   */
   Wrapper<List<MemberEquities>> memberEquitiesAll();

}
